$OpenBSD: patch-Source_JavaScriptCore_llint_LowLevelInterpreter_asm,v 1.5 2016/03/16 07:10:57 ajacoutot Exp $

https://bug-103128-attachments.webkit.org/attachment.cgi?id=202651

--- Source/JavaScriptCore/llint/LowLevelInterpreter.asm.orig	Mon Mar 14 08:09:01 2016
+++ Source/JavaScriptCore/llint/LowLevelInterpreter.asm	Tue Mar 15 08:11:20 2016
@@ -704,6 +704,11 @@ _llint_op_loop_hint:
     loadp CodeBlock[cfr], t1
     loadp CodeBlock::m_vm[t1], t1
     loadb VM::watchdog+Watchdog::m_timerDidFire[t1], t0
+    if FOUR_BYTE_BOOL
+        loadi VM::watchdog+Watchdog::m_timerDidFire[t1], t0
+    else
+        loadb VM::watchdog+Watchdog::m_timerDidFire[t1], t0
+    end
     btbnz t0, .handleWatchdogTimer
 .afterWatchdogTimerCheck:
     checkSwitchToJITForLoop()
